package com.itheima.domain.db;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SoulUserStatus implements Serializable {

    private Long id;//主键
    private Long userId;//用户id
    private Integer level = 1;//记录用户现在处于哪个状态,默认为1(对应三种问卷)


    @TableField(fill = FieldFill.INSERT)
    private Date created;//创建时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;//更新时间
}
